// @author U099151W Sun Chenchen
// all functions in this file  are implemented by the author unless specifically indicated
var Player = function() {
    this.career =  "Rebel";
    this.currentDialogue = "";
    this.rateOfInfluence  = 0.1;
    this.arrayOfInfluence = new Array();
    this.drawDebug = function(context, sx, sy, w, h) {
        context.save();
        context.fillStyle = "red";
        context.fillRect(sx, sy, w, h);
        context.restore();
    };

    this.dialogueList = {

    	rebelToArmyInteraction 	   : ["I want to fight you", "I do not want to fight you", "Go away"],

    	rebelToMerchantInteraction : ["Do not want to purchase weapon", "I want to purchase a weapon"],

    	rebelToSpyInteraction	   : ["Join me dude", "Your government is not helping you"],

    	rebelToCitizenInteraction  : ["Do not join the war", "Listen to me", "The government is screwed up"],

        rebelToBlackMarketInteraction : ["20 Guns, your asshole", "Your government is not helping you"],

        rebelToTVStationInteraction : ["War is Evil!", "Don't cheated by those politicians", "War or Death?"]
    };

};
Player.prototype = new NPC();
var player;